<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <!-- datalist 标签 -->
    <form action="#">
      <input type="text" list="mydata" />
      <button>搜索🔍</button>
    </form>

    <datalist id="mydata">
      <option value="beij">北京</option>
      <option value="gzhou">广州</option>
    </datalist>

    <hr />

    <!-- 展示问题和答案。summary是必须要写的 -->
    <details>
      <summary>如何一夜暴富</summary>
      <p>来到尚硅谷学习前端</p>
      <p>来到尚硅谷学习前端</p>
      <p>来到尚硅谷学习前端</p>
      <p>来到尚硅谷学习前端</p>
      <p>来到尚硅谷学习前端</p>
    </details>
  </body>
</html>
